package com.ruibang.glass.job.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.sql.Timestamp;
import java.time.LocalDateTime;

import lombok.Builder;
import lombok.Data;

/**
 * <p>
 * 质量总表
 * </p>
 *
 * @author Auto-generator
 * @since 2024-05-13
 */

@ApiModel(value ="质量总表")
@TableName("total_equ_data")
@Data
@Builder
public class TotalEquData {

    @ApiModelProperty(value = "玻璃ID")
    @TableField("CustomerPanelId")
    private String CustomerPanelId;
    @ApiModelProperty(value = "玻璃板号")
    @TableField("CustomerBatchId")
    private String CustomerBatchId;
    @ApiModelProperty(value = "检查类型")
    @TableField("MachineId")
    private String MachineId;
    @ApiModelProperty(value = "缺陷总数")
    @TableField("DefectCount")
    private Integer DefectCount;
    @ApiModelProperty(value = "检查时间")
    @TableField("StartTime")
    private LocalDateTime StartTime;
    @ApiModelProperty(value = "缺陷id")
    @TableField("DefectId")
    private Integer DefectId;
    @ApiModelProperty(value = "缺陷名称")
    @TableField("DefectName")
    private String DefectName;
    @ApiModelProperty(value = "缺陷长度")
    @TableField("TiltedSizeLengthMM")
    private Double TiltedSizeLengthMM;
    @ApiModelProperty(value = "缺陷宽度")
    @TableField("TiltedSizeWidthMM")
    private Double TiltedSizeWidthMM;
    @ApiModelProperty(value = "缺陷X轴坐标")
    @TableField("MaterialCenterDW")
    private Double MaterialCenterDW;
    @ApiModelProperty(value = "缺陷Y轴坐标")
    @TableField("MaterialCenterCW")
    private Double MaterialCenterCW;
    @ApiModelProperty(value = "BoundingBoxWidth")
    @TableField("BoxWidth")
    private Double MechanicalBoundingBoxWidth;
    @ApiModelProperty(value = "BoundingBoxLength")
    @TableField("BoxLength")
    private Double MechanicalBoundingBoxLength;
    @ApiModelProperty(value = "缺陷尺寸")
    @TableField("TiltedSize")
    private Double TiltedSize;
    @ApiModelProperty(value = "缺陷深度")
    @TableField("TiltedDepth")
    private Double TiltedDepth;
    @ApiModelProperty(value = "缺陷分层")
    @TableField("TiltedDiv")
    private Double TiltedDiv;
    @ApiModelProperty(value = "1:已读，0:未读")
    private Boolean isRead;
    @ApiModelProperty(value = "0:半成品，1:成品")
    private Boolean isFinished;
    @ApiModelProperty(value = "机检结果")
    @TableField("Quality")
    private Integer Quality;
    @ApiModelProperty(value = "人工判断结果")
    @TableField("ManualQuality")
    private Integer ManualQuality;
    @ApiModelProperty(value = "原因说明")
    private String comment;
    private String productionLine;
    @TableField("F8")
    private Double f8;
    @TableField("Camera")
    private Integer Camera;
    @ApiModelProperty(value = "源数据库名称，用于binlog")
    @TableField("sourceDB")
    private String sourceDB;
}
